package com.kai.demo.service;

import com.kai.demo.entity.User;

import java.math.BigInteger;
import java.util.List;

/**
 * <p>Project: sprigncloud-demo </p>
 * <p>Description: </p>
 * <p>Copyright (c) 2024 Karrytech (Shanghai/Beijing) Co., Ltd.</p>
 * <p>All Rights Reserved.</p>
 *
 * @author <a href="mailto:zhangkai@karrytech.com">Zhang Kai</a>
 */
public interface UserService {
    void save(User user);

    User get(BigInteger id);

    List<User> findAll();
}